package feng.demo.entity;

public class Type {
    private Integer typeid;
    private String typename;
    private Breed breed;
    private String typesn;
    private Integer tnum;

    private Integer pic;

    public Integer getTnum() {
        return tnum;
    }

    public void setTnum(Integer tnum) {
        this.tnum = tnum;
    }

    public Integer getPic() {
        return pic;
    }

    public void setPic(Integer pic) {
        this.pic = pic;
    }

    public Type() {
        this.breed = new Breed();
    }

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    public String getTypename() {
        return typename;
    }

    public void setTypename(String typename) {
        this.typename = typename;
    }

    public Breed getBreed() {
        return breed;
    }

    public void setBreed(Breed breed) {
        this.breed = breed;
    }

    public String getTypesn() {
        return typesn;
    }

    public void setTypesn(String typesn) {
        this.typesn = typesn;
    }

    @Override
    public String toString() {
        return "Type{" +
                "typeid=" + typeid +
                ", typename='" + typename + '\'' +
                ", breed=" + breed +
                ", typesn='" + typesn + '\'' +
                ", tnum=" + tnum +
                ", pic=" + pic +
                '}';
    }
}
